package com.douyin.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class FindPasswordDTO {
    @Email(message = "邮箱不可为空")
    private String email;
    @NotBlank(message = "新密码不可为空")
    private String newPassword;
    @NotBlank(message = "验证码不可为空")
    private Integer code;
}
